package com.qf.lanzhou.shop.admin.dao;

import com.qf.lanzhou.shop.pojo.entity.Goods;
import com.qf.lanzhou.shop.pojo.entity.Page;

import java.util.List;

/**
 * @author Yeach-chen
 * @ClassName PageAdminMapper
 */
public interface PageAdminMapper {
    /**
     * 获取商品列表(分页)
     * @return
     */
    List<Goods> selectAllGoods(Page page);

    /**
     * 获取商品总数
     * @return
     */
    int selectCount();
}
